package com.iflytek.iot.redis.sharding.core.utils;


import com.iflytek.iot.redis.sharding.core.constants.RedisShardingConstants;

/**
 * @author ZuRun
 * @date 2020/2/28 12:48:06
 */
public class RedisSlotUtils {

    /**
     * 根据slot编号生成slotName
     *
     * @param slotNo
     * @return
     */
    public static String createSlotName(Short slotNo) {
        return RedisShardingConstants.PREFIX_SLOT_NAME + slotNo;
    }

}
